﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CanDoo.Oil.Core.DTOs
{
    public class VersionInfo
    {
        [Display(Name = "PAD强制更新标志")]
        [Required]
        public int updateTag { get; set; }

        [Display(Name = "PAD固件操作系统")]
        [Required]
        public string os { get; set; }

        [Display(Name = "记录创建的时间")]
        [Required]
        public string createTime { get; set; }

        //[Display(Name = "记录最近更新的时间")]
        //[Required]
        //public string updateTime { get; set; }

        [Display(Name = "版本名")]
        [Required]
        public string name { get; set; }

        [Display(Name = "版本logo")]
        [Required]
        public string icon { get; set; }

        [Display(Name = "版本描述信息")]
        [Required]
        public string description { get; set; }

        [Display(Name = "PAD固件版本号")]
        [Required]
        public string version { get; set; }

        [Display(Name = "id")]
        [Required]
        public long id { get; set; }

        [Display(Name = "应用类型")]
        [Required]
        public string type { get; set; }

        [Display(Name = "PAD固件地址")]
        [Required]
        public string url { get; set; }

        [Display(Name = "可用")]
        [Required]
        public int status { get; set; }

        [Display(Name = "可用")]
        [Required]
        public string md5 { get; set; }
    }
}
